package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.MerchantEvaluativeMapper;
import com.richest.api.service.IMerchantEvaluativeService;
import com.richest.bean.MerchantEvaluativeBean;

/**
 * 企业评价信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class MerchantEvaluativeServiceImpl implements IMerchantEvaluativeService {

	@Autowired
	private MerchantEvaluativeMapper mapper;

	@Override
	public Integer merchantEvaluativeAdd(MerchantEvaluativeBean bean) {
		return mapper.merchantEvaluativeAdd(bean);
	}

	@Override
	public Integer merchantEvaluativeUpdate(MerchantEvaluativeBean bean) {
		return mapper.merchantEvaluativeUpdate(bean);
	}

	@Override
	public Integer merchantEvaluativeDelete(Long id) {
		return mapper.merchantEvaluativeDelete(id);
	}

	@Override
	public MerchantEvaluativeBean merchantEvaluativeSelectOne(Long id) {
		return mapper.merchantEvaluativeSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> merchantEvaluativeSelectMap(Map<String, Object> params) {
		return mapper.merchantEvaluativeSelectMap(params);
	}
}
